﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;

namespace Invini.System.Structures
{
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct TokenPrivileges
    {
        /// <summary>
        /// Specifies the number of entries in the Privileges array.
        /// </summary>
        public int PrivilegeCount;
        /// <summary>
        /// Specifies an array of LUID_AND_ATTRIBUTES structures. Each structure contains the LUID and attributes of a privilege.
        /// </summary>
        public LUIDAndAttributes Privileges;
    }
}
